<template>
  <div class="base-info">
    <div class="row">
      <b-cell label="出生日期" content="1975-04-15" />
      <b-cell label="民族" content="汉族" />
      <b-cell label="籍贯" content="贵州" />
    </div>
    <div class="row">
      <b-cell label="婚姻状况" content="已婚" />
      <b-cell label="政治面貌" content="群众" />
      <div class="empty-box"></div>
    </div>
    <div class="row">
      <b-cell label="学历(全日制)" content="本科" />
      <b-cell label="毕业院校(全日制)" content="山东科技大学" />
      <b-cell label="所学专业(全日制)" content="计算机科学与技术" />
    </div>
    <div class="row">
      <b-cell label="最高学历(非全日制)" content="大专" />
      <b-cell label="毕业院校(非全日制)" content="山东科技大学" />
      <b-cell label="所学专业(非全日制)" content="掘进" />
    </div>
    <div class="row">
      <b-cell label="血型" content="A" />
      <b-cell label="从业日期	" content="2023-11-05" />
      <b-cell label="电子邮件" content="" />
    </div>
    <div class="row">
      <b-cell label="联系人电话" content="18685831460" />
      <b-cell label="家庭联系人" content="张三" />
      <div class="empty-box"></div>
    </div>
    <div class="row">
      <b-cell label="家庭住址" content="" />
    </div>
  </div>
</template>
<script setup lang="ts">
import BCell from '@/components/b-cell.vue'
</script>
<style scoped lang="scss">
.base-info {
  position: relative;
  .empty-box {
    position: relative;
    display: flex;
    
    flex: 1;
    min-width: 150px;
  }
  .row {
    position: relative;
    display: flex;
    gap: calc(16px * var(--scale));
    margin-top: calc(16px * var(--scale));
  }
  .img-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    .person-img {
      border-radius: 50%;
      height: calc(2.2em * 2 + calc(16px * var(--scale)));
    }
  }
}
</style>
